function setUp(){
	$('#PBpasswordField').focus();
	
	$('#PBSavePassword').bind('click', function(){
		$.post(PicBoard.baseURL + "rsrc.php?req=resetPasswordConfirm", $('form#loginForm').serialize(), function(data){
			if(data.statusCode == 200){
				alert(data.message);
				window.location = "home";
			} else {
				alert(data.message);
			}
	
		}, 'json');
	});

}

PicBoard.addLoadEvent( "setUp()" );